<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title>Đăng Nhập Quản Trị</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <style>
        body {
            margin: 0px;
            padding: 0px;
            font-size: 12px;
            font-family: Tahoma, Arial, Verdana;
        }
        .error {color: red; text-align: center; line-height: 25px;}
        input[type="text"],input[type="password"]{
                width: 200px;
        }

        fieldset {
            border: 1px solid #CCC;
            width: 340px;
            margin: 40px auto;
        }
        fieldset legend {
            border: 1px solid #CCC;
            font-weight: bold;
            padding: 5px 10px;
            margin-left: 20px;
        }
        fieldset ul {
            list-style: none;
            padding: 0px 10px;
        }
        fieldset li {
            margin-bottom: 5px;
            line-height: 25px;
        }
        fieldset li .right input {
            background: white;
            height: 30px;
            width: 310px;
            border: 1px solid #CCC;
        }
        fieldset li .left {
            font-weight: bold;
        }
        fieldset li .right {}
        fieldset li.submit {
            text-align: right;
            padding: 10px 4px 0px;
        }
        fieldset li.submit input{
            border: 1px solid #CCC;
            background: #E7E7E7;
            height: 30px;
            vertical-align: middle;
            min-width: 100px;
        }
        fieldset li.submit input:active{
            background: #CCC;
        }
    </style>
</head>
    <body>
        <?php echo form_open();?>
            <fieldset>
                <legend>ĐĂNG NHẬP THÀNH VIÊN</legend>
                <div>
                    <ul>
                        <?php if (isset($msg)):?>
                        <li class="error"><?php echo $msg;?></li>
                        <?php endif;?>
                        <li>
                            <div class="left">Tên đăng nhập :</div>
                            <div class="right"><?php echo form_input('username');?></div>
                        </li>
                        <li>
                            <div class="left">Mật khẩu</div>
                            <div class="right"><?php echo form_password('password')?></div>
                        </li>
                        <li class="submit">
                            <?php echo form_submit('submit', 'Đăng nhập')?>
                        </li>
                    </ul>
                </div>
            </fieldset>
        </form>
    </body>
</html>